include $(PRJ)/Tools.mk

ifdef DEBUG
CFLAGS += -g
endif

OBJ = $(SRC:.c=.o)

$(TARGET): $(OBJ)
	$(CC) $^ $(LIBS) $(LDFLAGS) -o $@

$(OBJ): %.o:%.c
	$(CC) -c $(CFLAGS) $< -o $@

.PHONY: clean  
clean:
	rm -f $(TARGET) $(SOLIBLINK) $(OBJ) $(ARCHIVE) $(AROBJ) $(CDEPENDS) $(CLEAN)

.PHONY: FORCE
FORCE:
